package com.woniu.model.medicalService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 疾病表
 * </p>
 *
 * @author 西瓜
 * @since 2023-10-18
 */
@Getter
@Setter
  @TableName("ms_disease")
@ApiModel(value = "Disease对象", description = "疾病表")
public class Disease implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("疾病表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("名称")
      private String name;

      @ApiModelProperty("描述")
      private String describe;

      @ApiModelProperty("一级科室(外键)")
      private Long iDepartmentId;

      @ApiModelProperty("二级科室(外键)")
      private Long iiDepartmentId;


}
